//
//  Constant.h
//  record_plugin
//
//  Created by zqj on 2024/9/9.
//

#ifndef Constant_h
#define Constant_h


#import <avd_sdk/avd_sdk.h>
#import "AFNetworking/AFNetworking.h"
#import  "NetworkingTool.h"
#import "TTSModel.h"

#define baseUrl @"https://testqa-rly.dgzq.com.cn:1443"

#define UrlWithParamter(url) [NSString stringWithFormat:@"%@%@",baseUrl,url];

#define AVDUrlWithParamter(avdurl,url) [NSString stringWithFormat:@"%@%@",avdurl,url];

#define TTSURL @"https://cd.nice2meet.cn:7840/attachment?file=/opt/data/resources/TTS华鑫.wav"
#define TTSURL2 @"https://cd.nice2meet.cn:7840/attachment?file=/opt/data/resources/test_tts.wav"


#define WeakSelf __weak typeof(self)weakSelf = self

#define UIImageWithName(name) [UIImage imageNamed:name inBundle:[NSBundle bundleForClass:[self class]] compatibleWithTraitCollection:nil]

#define asrPcmPath [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:@"localAsr.pcm"]

#define asrWavPath [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:@"localAsr.wav"]


#define TTSText @"尊敬的张成芸，您好。按照监管部门的要求进行录音录像。为维护您的合法权益，请确保您的回答是您本人真实意愿表示您的姓名是张成云，证件号码是321321197909055026。请问以上信息是否正确？"
#define TTSText2 @"李先生您好，请问您是否已知晓证券市场风险，已阅读且充分理解开户协议条款并自愿在东莞开立证券账户？请您回答是或否"//55
 
#define keyFacePass @"isFacePass"
#define keyVoicePass @"isVoicePass"
#define keyVideoUrl @"videoUrl"

#endif /* Constant_h */
